package com.codedancer.campus.manager.service.vo.chatRoom;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@Data
@ApiModel("聊天室分页Vo")
public class ChatRoomVo {

    @ApiModelProperty("聊天室uuid")
    private String uuid;

    @ApiModelProperty("房主名称")
    private String houseUserName;

    @ApiModelProperty("聊天用户名称")
    private String chatUserName;

    @ApiModelProperty("学校")
    private String schoolName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
